//package com.lebang.configuration.datasource;
//
//import org.apache.shardingsphere.api.sharding.hint.HintShardingAlgorithm;
//import org.apache.shardingsphere.api.sharding.hint.HintShardingValue;
//
//import java.util.ArrayList;
//import java.util.Collection;
//import java.util.List;
//
//public class MyDatasourceRoutingAlgorithm implements HintShardingAlgorithm<String> {
//
//    @Override
//    public Collection<String> doSharding(Collection<String> availableTargetNames, HintShardingValue<String> shardingValue) {
//        List<String> shardingResult = new ArrayList<>();
//        shardingResult.add("default");
//        return shardingResult;
//    }
//}
